package com.bsh.entity.Bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_score")
@Accessors(chain = true)
public class TbScore {
    /**
     * 成绩编号
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(name = "成绩编号")
    private Integer scoreId;
    /**
     * 学生编号
     */
    @ApiModelProperty(name = "学生编号")
    private Integer studentId;
    /**
     * 课程名称
     */
    @ApiModelProperty(name = "课程名称")
    private String courseName;
    /**
     * 课程成绩
     */
    @ApiModelProperty(name = "课程成绩")
    private Double score;

}